package cn.icanci.ladybird.controller;

import cn.icanci.ladybird.aop.NoRepeatSubmit;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: icanci
 * @date: Created in 2020/10/17 12:14
 * @classAction: TODO 表单重复提交的测试类 - 不久之后删除
 */
@Controller
public class TestController {
    @RequestMapping("/test")
    @NoRepeatSubmit
    @ResponseBody
    public String test() {
        return ("程序逻辑返回");
    }
}
